
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <title>9.2.MpushClient架构 · MPUSH开发文档</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.0">
        <meta name="author" content="夜色">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-navigator/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapter16.md" />
    
    
    <link rel="prev" href="chapter15.1.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    0.Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    1.系统架构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="chapter2.html">
            
                <a href="chapter2.html">
            
                    
                    2.服务依赖关系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="chapter3.html">
            
                <a href="chapter3.html">
            
                    
                    3.协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chapter4.html">
            
                <a href="chapter4.html">
            
                    
                    4.主要流程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="chapter6.html">
            
                <a href="chapter6.html">
            
                    
                    4.1.密钥交换方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="chapter7.html">
            
                <a href="chapter7.html">
            
                    
                    4.2.握手及快速重连
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="chapter8.html">
            
                <a href="chapter8.html">
            
                    
                    4.3.绑定用户及路由发布
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="chapter9.html">
            
                <a href="chapter9.html">
            
                    
                    4.4.解绑用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="chapter10.html">
            
                <a href="chapter10.html">
            
                    
                    4.5.消息推送
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="chapter11.html">
            
                <a href="chapter11.html">
            
                    
                    4.6.Http代理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="chapter12.html">
            
                <a href="chapter12.html">
            
                    
                    5.服务部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="chapter13.html">
            
                <a href="chapter13.html">
            
                    
                    6.源码测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="chapter14.html">
            
                <a href="chapter14.html">
            
                    
                    7.配置详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="chapter17.html">
            
                <a href="chapter17.html">
            
                    
                    8.Alloc实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="chapter15.html">
            
                <a href="chapter15.html">
            
                    
                    9.Android SDK
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="chapter15.1.html">
            
                <a href="chapter15.1.html">
            
                    
                    9.1.SDK系统架构
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.10.2" data-path="chapter15.2.html">
            
                <a href="chapter15.2.html">
            
                    
                    9.2.MpushClient架构
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="chapter16.md">
            
                <span>
            
                    
                    10.IOS SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chapter18.html">
            
                <a href="chapter18.html">
            
                    
                    11.服务端SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="chapter19.html">
            
                <a href="chapter19.html">
            
                    
                    12.HTTP代理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="chapter20.html">
            
                <a href="chapter20.html">
            
                    
                    13.Server源码分析
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="chapter20.1.html">
            
                <a href="chapter20.1.html">
            
                    
                    13.1.模块依赖关系
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="chapter21.html">
            
                <a href="chapter21.html">
            
                    
                    14.SPI定制化
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >9.2.MpushClient架构</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="MpushClient&#x67B6;&#x6784;&#x8BBE;&#x8BA1;">MpushClient&#x67B6;&#x6784;&#x8BBE;&#x8BA1;</h1><h2 id="&#x67B6;&#x6784;&#x56FE;">1. &#x67B6;&#x6784;&#x56FE;</h2><p><img src="MpushClient&#x67B6;&#x6784;&#x56FE;.png"></p><h2 id="&#x8BF4;&#x660E;">2. &#x8BF4;&#x660E;</h2><ol><li><p><code>MpushClient</code>&#x4E3B;&#x8981;&#x662F;&#x4E3A;Android&#x5BA2;&#x6237;&#x7AEF;&#x8BBE;&#x8BA1;&#xFF0C;&#x4F5C;&#x4E3A;Android&#x5E95;&#x5C42;&#x901A;&#x4FE1;&#x7EC4;&#x4EF6;</p></li>
<li><p><code>MpushClient</code>&#x5B9E;&#x73B0;&#x4E86;&#x6240;&#x6709;Mpush&#x7684;&#x534F;&#x8BAE;&#xFF0C;&#x4E5F;&#x5305;&#x52A0;&#x5BC6;&#xFF0C;&#x538B;&#x7F29;&#x7B49;&#x7279;&#x6027;</p></li>
<li><p><code>MpushClient</code>&#x5BF9;SDK&#x53EA;&#x66B4;&#x9732;&#x4E86;3&#x4E2A;&#x5BF9;&#x8C61;&#xFF1A;<code>Client&#x3001;ClientConfig&#x3001;ClientListener</code></p></li>
<li><p><code>ClientConfig</code>&#x63D0;&#x4F9B;&#x4E86;&#x6240;&#x6709;&#x652F;&#x6301;&#x5BF9;&#x914D;&#x7F6E;&#x8BBE;&#x7F6E;&#x9879;&#xFF0C;&#x6240;&#x6709;&#x7684;&#x914D;&#x7F6E;&#x90FD;&#x5FC5;&#x987B;&#x4F7F;&#x7528;&#x6B64;&#x5BF9;&#x8C61;&#x8BBE;&#x7F6E;</p></li>
<li><p><code>Client</code>&#x4E3B;&#x8981;&#x66B4;&#x9732;&#x4E00;&#x4E9B;&#x5F80;&#x670D;&#x52A1;&#x7AEF;&#x4E0A;&#x884C;&#x7684;&#x65B9;&#x6CD5;&#xFF0C;&#x5E38;&#x7528;&#x7684;&#x6709;&#xFF1A;</p><pre><code class="lang-java"><span class="token keyword">public</span> <span class="token keyword">interface</span> <span class="token class-name">MPushProtocol</span> <span class="token punctuation">{</span>

    <span class="token keyword">boolean</span> <span class="token function">healthCheck<span class="token punctuation">(</span></span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x5065;&#x5EB7;&#x68C0;&#x67E5;&#xFF0C;&#x8BFB;&#x5199;&#x8D85;&#x65F6;&#x68C0;&#x67E5;&#xFF0C;&#x53D1;&#x9001;&#x5FC3;&#x8DF3;</span>

    <span class="token keyword">void</span> <span class="token function">fastConnect<span class="token punctuation">(</span></span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x5FEB;&#x901F;&#x91CD;&#x8FDE;</span>

    <span class="token keyword">void</span> <span class="token function">handshake<span class="token punctuation">(</span></span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x63E1;&#x624B;&#x4EA4;&#x4E92;&#x5BC6;&#x94A5;</span>

    <span class="token keyword">void</span> <span class="token function">bindUser<span class="token punctuation">(</span></span>String userId<span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x7ED1;&#x5B9A;&#x7528;&#x6237;&#x5230;&#x94FE;&#x63A5;</span>

    <span class="token keyword">void</span> <span class="token function">unbindUser<span class="token punctuation">(</span></span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x89E3;&#x7ED1;</span>

    Future<span class="token operator">&lt;</span>HttpResponse<span class="token operator">&gt;</span> <span class="token function">sendHttp<span class="token punctuation">(</span></span>HttpRequest request<span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment" spellcheck="true">//&#x53D1;&#x9001;HTTP&#x4EE3;&#x7406;&#x4EB2;&#x6C42;</span>
<span class="token punctuation">}</span></code></pre>
<p>&#x200B;</p></li>
<li><p>&#x6240;&#x6709;&#x670D;&#x52A1;&#x7AEF;&#x4E0B;&#x884C;&#x7684;&#x6D88;&#x606F;&#x90FD;&#x76F4;&#x63A5;&#x8F6C;&#x4EA4;&#x7ED9;<code>ClientListener</code>&#x6765;&#x5904;&#x7406;:</p><pre><code class="lang-java"><span class="token keyword">public</span> <span class="token keyword">interface</span> <span class="token class-name">ClientListener</span> <span class="token punctuation">{</span>

    <span class="token keyword">void</span> <span class="token function">onConnected<span class="token punctuation">(</span></span>Client client<span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">void</span> <span class="token function">onDisConnected<span class="token punctuation">(</span></span>Client client<span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">void</span> <span class="token function">onHandshakeOk<span class="token punctuation">(</span></span>Client client<span class="token punctuation">,</span> <span class="token keyword">int</span> heartbeat<span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">void</span> <span class="token function">onReceivePush<span class="token punctuation">(</span></span>Client client<span class="token punctuation">,</span> <span class="token keyword">byte</span><span class="token punctuation">[</span><span class="token punctuation">]</span> content<span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">void</span> <span class="token function">onKickUser<span class="token punctuation">(</span></span>String deviceId<span class="token punctuation">,</span> String userId<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span></code></pre>
<p>&#x200B;</p></li>
<li><p>&#x5B9A;&#x65F6;&#x53D1;&#x9001;&#x5FC3;&#x8DF3;&#x90E8;&#x5206;&#x7684;&#x5B9A;&#x65F6;&#x529F;&#x80FD;&#xFF0C;<code>MpushClient</code>&#x6CA1;&#x6709;&#x53BB;&#x5B9E;&#x73B0;&#xFF0C;&#x56E0;&#x4E3A;Android&#x6709;&#x6BD4;<code>Timer</code>&#x66F4;&#x597D;&#x7684;&#x5B9E;&#x73B0;<code>AlarmManager</code>, &#x6240;&#x4EE5;&#x5B9A;&#x65F6;&#x529F;&#x80FD;&#x7531;SDK&#x6536;&#x5230;<code>onHandshakeOk</code>&#x4E8B;&#x4EF6;&#x65F6;&#x53BB;&#x89E6;&#x53D1;&#x3002;</p></li>
<li><p>&#x5185;&#x90E8;&#x7EC4;&#x4EF6;&#x4E3B;&#x8981;&#x6709;:<code>Connection&#x3001;PacketReader&#x3001;PacketWriter&#x3001;PacketDispatcher&#x3001;MessageHandler&#x3001;ExecutorManager&#x3001;AllotClient</code> &#x7B49;</p></li>
<li><p><code>Connection</code>&#x8D1F;&#x8D23;TCP&#x94FE;&#x63A5;&#x521B;&#x5EFA;&#x3001;&#x7EF4;&#x62A4;&#x3001;&#x5173;&#x95ED;&#x3001;&#x91CD;&#x8FDE;&#x53CA;&#x6821;&#x9A8C;&#x8BFB;&#x5199;&#x8D85;&#x65F6;&#x65F6;&#x95F4;&#x7B49;</p></li>
<li><p><code>AllotClient</code>&#x8D1F;&#x8D23;&#x4ECE;<code>AllotServer</code>&#x83B7;&#x53D6;&#x6700;&#x65B0;&#x7684;MpushServer IP&#x5730;&#x5740;&#x5217;&#x8868;</p></li>
<li><p><code>PacketReader</code> &#x8D1F;&#x8D23;&#x6570;&#x636E;&#x5305;&#x7684;&#x89E3;&#x7801;&#x53CA;&#x6CBE;&#x5305;&#x3001;&#x534A;&#x5305;&#x7684;&#x5904;&#x7406;&#xFF0C;&#x72EC;&#x5360;&#x4E00;&#x4E2A;&#x7EBF;&#x7A0B;&#x8D1F;&#x8D23;&#x6D88;&#x606F;&#x7684;&#x8BFB;&#x53D6;&#x3002;</p></li>
<li><p><code>PacketWriter</code>&#x8D1F;&#x8D23;&#x6570;&#x636E;&#x53D1;&#x9001;&#x6570;&#x636E;&#x5185;&#x90E8;&#x7EF4;&#x62A4;&#x4E00;&#x4E2A;&#x53EA;&#x6709;&#x4E00;&#x4E2A;&#x7EBF;&#x7A0B;&#x7684;&#x7EBF;&#x7A0B;&#x6C60;&#xFF0C;&#x5982;&#x679C;&#x53D1;&#x9001;&#x5931;&#x8D25;&#xFF0C;&#x4F1A;&#x5C1D;&#x8BD5;&#x91CD;&#x53D1;&#x76F4;&#x5230;&#x8D85;&#x65F6;&#x3002;</p></li>
<li><p><code>PacketReader&#x3001;PacketWriter</code>&#x5185;&#x90E8;&#x8FD8;&#x5206;&#x522B;&#x7EF4;&#x62A4;&#x4E86;&#x4E00;&#x4E2A;<code>ByteBuf</code>&#x4F7F;&#x7528;&#x7684;&#x662F;&#x5806;&#x5916;&#x5185;&#x5B58;(<code>allocateDirect</code>)&#x8BE5;buffer&#x53EA;&#x5206;&#x914D;&#x4E00;&#x6B21;&#x540E;&#x7EED;&#x4E00;&#x76F4;&#x91CD;&#x590D;&#x4F7F;&#x7528;&#xFF0C;<strong>&#x907F;&#x514D;&#x53CD;&#x590D;&#x7684;&#x5206;&#x914D;&#x5185;&#x5B58;&#x548C;&#x5783;&#x573E;&#x56DE;&#x6536;</strong>&#xFF0C;&#x8FD9;&#x70B9;&#x5BF9;&#x4E8E;&#x5BA2;&#x6237;&#x7AEF;&#x8FD8;&#x662F;&#x975E;&#x5E38;&#x6709;&#x610F;&#x4E49;&#x7684;&#x3002;</p></li>
<li><p><code>PacketDispatcher</code>&#x8D1F;&#x8D23;&#x6839;&#x636E;<code>Packet</code>&#x7684;<code>Command</code>&#x628A;&#x5305;&#x5206;&#x53D1;&#x5230;&#x76F8;&#x5E94;&#x7684;<code>MessageHander</code>&#x3002;</p></li>
<li><p><code>MessageHandler</code>&#x4E3B;&#x8981;&#x8D1F;&#x8D23;&#x628A;<code>Packet</code>&#x53CD;&#x5E8F;&#x5217;&#x5316;&#x4E3A;&#x4E1A;&#x52A1;<code>Message</code>&#x5305;&#x62EC;&#x89E3;&#x7801;&#x548C;&#x89E3;&#x538B;&#xFF0C;&#x5E76;&#x5904;&#x7406;&#x76F8;&#x5E94;&#x7684;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#xFF0C;&#x6BD4;&#x5982;&#x89E6;&#x53D1;&#x4E0B;&#x4E00;&#x6B65;&#x7684;&#x8BF7;&#x6C42;&#xFF0C;&#x6216;&#x901A;&#x77E5;<code>Listener</code>&#x3002;</p></li>
<li><p><code>ExecutorManager</code>&#x8D1F;&#x8D23;&#x6574;&#x4E2A;&#x5BA2;&#x6237;&#x7AEF;&#x7684;&#x7EBF;&#x7A0B;&#x3001;&#x7EBF;&#x7A0B;&#x6C60;&#x7684;&#x5206;&#x914D;&#x548C;&#x9500;&#x6BC1;&#x3002;</p></li></ol>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; ohun.com 2016 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2016-08-31 16:22:28
</span></footer>

<div id="anchors-navbar"><i class="fa fa-anchor"></i><ul><p><a href="#MpushClient&#x67B6;&#x6784;&#x8BBE;&#x8BA1;">MpushClient&#x67B6;&#x6784;&#x8BBE;&#x8BA1;</a></p><li><a href="#&#x67B6;&#x6784;&#x56FE;">1. &#x67B6;&#x6784;&#x56FE;</a></li><li><a href="#&#x8BF4;&#x660E;">2. &#x8BF4;&#x660E;</a></li></ul></div><a href="#&#x67B6;&#x6784;&#x56FE;" id="goTop"><i class="fa fa-arrow-up"></i></a>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="chapter15.1.html" class="navigation navigation-prev " aria-label="Previous page: 9.1.SDK系统架构">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="chapter16.md" class="navigation navigation-next " aria-label="Next page: 10.IOS SDK">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"9.2.MpushClient架构","level":"1.10.2","depth":2,"next":{"title":"10.IOS SDK","level":"1.11","depth":1,"path":"chapter16.md","ref":"chapter16.md","articles":[]},"previous":{"title":"9.1.SDK系统架构","level":"1.10.1","depth":2,"path":"chapter15.1.md","ref":"chapter15.1.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","sharing","search","-highlight","-page-treeview","-anchorjs","baidu","donate","tbfed-pagefooter","navigator","duoshuo","editlink","splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy ohun.com 2016","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{},"editlink":{"label":"编辑本页","multilingual":false,"base":"https://github.com/mpusher/docs/tree/book"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"duoshuo":{"short_name":"mpush","theme":"default"},"donate":{"alipay":"alipay.jpg","alipayText":"支付宝打赏","button":"赏","title":"","wechat":"wxpay.png","wechatText":"微信打赏"},"fontsettings":{"theme":"sepia","family":"sans","size":2},"navigator":{},"baidu":{"token":"74e8d02bb383b3d88072165c31989fb2"},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchorjs":{"icon":"#","placement":"right","visible":"always","class":"custom-class another-one"}},"theme":"default","author":"夜色","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"MPUSH开发文档","language":"zh-hans","gitbook":"*","description":"mpush开发手册"},"file":{"path":"chapter15.2.md","mtime":"2016-08-31T08:22:28.000Z","type":"markdown"},"gitbook":{"version":"3.2.0","time":"2016-10-26T16:14:58.733Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-baidu/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-duoshuo/duoshuo.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-editlink/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

